﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Useful.MVP2
{
    public class InitDetailViewEventArgs : EventArgs
    {
        public bool AllowWrite { get; set; }
        public object Item { get; set; }  // TODO
        public object Repository { get; set; } // TODO

        public InitDetailViewEventArgs(object repository, bool allowWrite, object item) 
        {
            this.Repository = repository;
            this.AllowWrite = allowWrite;
            this.Item = item;
        }
    }
}
